package com.drug.mapper;

import com.drug.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StatementMapper {
    int deleteByPrimaryKey(Integer sId);

    int insert(Statement record);

    int insertSelective(Statement record);

    Statement selectByPrimaryKey(Integer sId);

    int updateByPrimaryKeySelective(Statement record);

    int updateByPrimaryKey(Statement record);

    List<Statement> selectAll(CombineSm combineSm);

    int updateState(Integer id);

    List<Statement> selectAllExport();

    List<PurchaseOrder> JieSuanAdd(CaiGouStatement caiGouStatement);

    List<Statement> selectjs(@Param("statement") Statement statement);

    void addjiesuandan(@Param("statement") Statement statement);
}